% making  aerowmm2010 WMM coefficient file for MATLAB

%  Dec 20, 2011. trying to rebuild the aerowmm2010.mat

c_2010 = [[0,-29496.6,-3594.9,3350.25,3992.625,-1818.3375,1051.05,2158.40625,...
    1226.671875,512.7890625,-360.8515625,1033.34765625,-1452.4275390625],...
    [4944.4,-1586.3,5241.35894878418,-7122.50379957779,4476.44119879285,...
    3631.50283457138,1296.75435728013,-2663.76722389837,542.953125,...
    1197.59258861809,-1532.70226498502,-699.579670392963,-179.40549231705],...
    [-4689.87397165425,-498.917235120215,1445.04998875471,2385.56409209646,...
    652.316930736126,1539.34817881628,1135.7616524826,-136.115806981248,...
    -813.194327352378,369.410141491431,189.622728273568,-859.000744087244,...
    238.53895820924],[-490.510320992331,487.802252454824,-424.219548111588,...
    501.221009136688,-746.928238688296,-664.046604809764,-1408.74296193894,...
    927.670846698576,-231.949610637742,-431.510767966564,-181.808374505365,...
    557.545613766244,649.22081265302],[1584.93356327639,-826.450724483922,...
    343.658105898872,-228.582532619511,66.1121915761382,-361.620376741964,...
    -124.416455402812,171.650139159389,-516.009038624223,174.764788952236,...
    -23.3741699071359,-119.756984116798,-292.149365693859],[453.429525257233,...
    1451.73674976733,-556.274335141844,0,70.7874806860295,-5.47217392815689,...
    30.7139422738274,64.2144405488361,170.551742085842,-417.767751319999,...
    184.789038305789,79.2117994340398,300.61921720067],[-393.184994627211,...
    659.040643085296,612.713523049822,-361.789955842388,7.21312280673218,...
    36.9431309159768,-52.3249072428108,4.11710181362448,74.8309789795581,...
    -12.1785514022733,-12.3960255344567,-75.2941138410006,-20.829891011946],...
    [-2053.69004345826,-611.073090915814,133.10950338942,307.488378781926,...
    43.2212580617166,-67.0845413161166,-2.13595750264957,3.17157326150997,...
    -35.3462552991385,63.2816093739796,44.0950077474985,19.8417411784643,...
    58.5269411357451],[737.34375,-1121.64734807224,492.892922605201,...
    -465.210221350336,247.67079068118,48.0565920052208,-27.0737274631699,...
    1.06540131220807,-2.31881462068816,-21.9638107195278,25.3660480662781,...
    40.9680685235441,-23.410776454298],[-2611.77107092244,1249.47547857396,...
    1062.1803519177,-405.905316276161,-249.313012884516,139.183444597409,...
    15.8204023434949,-15.7622641634258,4.26334574522867,-6.15139886097279,-2.65478475211798,0.881492483988726,-10.2173004932867],[681.201006660009,-21.0691920303964,776.817600159289,514.231737956989,-532.192430320674,-41.3200851148558,-78.168422825111,-16.3651923008246,-5.30956950423596,-4.92711171223356,-1.6621581679824,1.90424140544212,1.8864941272538],[93.2772893857284,695.381554737292,-196.780804858674,-431.125142820472,142.581238981272,-37.6470569205003,-124.010882365402,-29.5880494892263,-18.5113421637632,-5.16865524334291,-1.04396305308242,2.20392200095178,-2.22518707517621],[-807.324715426723,238.53895820924,1363.36370657134,-1217.28902372441,167.010676222594,124.979346071676,0,5.85269411357451,7.66297536996504,-8.48922357264211,-0.556296768794052,0.510991210914171,0]];
c_new = reshape(c_2010,[13,13])';
cd_2010 = [[0,11.6,-18.15,1,-7.875,-7.875,-2.8875,2.68125,-5.02734375,0,0,0,0],[-25.9,16.5,-7.62102355330306,-12.5536349317638,12.7281675821777,6.09994877027668,-3.78062494833857,-3.54696035139597,6.703125,-12.7403466874265,0,0,0],[-38.9711431702997,-10.2190997646564,1.64544826719043,-5.61582585200075,-34.0441349574343,-13.8333835340455,-1.49442322695079,-17.3764859976061,-33.6494204421674,0,-21.0691920303964,0,79.5129860697466],[22.3515939028965,-7.55231752510446,-2.05548047910945,-6.08738449582413,9.62159030514187,-4.70621264925418,19.9256430260105,26.6219006778841,8.28391466563364,24.894851998071,33.0560680918846,32.796800809779,64.922081265302],[6.08738449582413,10.5654211936865,8.15743525870724,-0.591607978309962,-1.55297094306365,1.99667692679612,-9.27666553442022,4.93957234991047,-5.34724392356708,-22.5502953486756,0,0,-48.6915609489765],[4.06663251351779,13.8333835340455,5.64745517910501,8.87411967464942,-0.420936456012068,0.701560760020114,-0.698044142586986,1.85233963121642,4.44917588050023,-10.107284306129,-7.39156153223158,0,0],[-3.78062494833857,-31.3828877659665,-3.9851286052021,-3.27411724744243,1.16340690431164,0.604523960443256,1.14187859194837,-1.69527721737479,2.05956822879518,1.73979305746761,-8.26401702297116,0,0],[24.8287224597718,8.68824299880304,-2.04783851368339,-1.23489308747762,-4.93957234991047,-0.726547378874909,0.194177954786325,0.38835590957265,-1.50409597017611,-0.753352492547376,0,0,0],[-6.703125,11.2164734807225,16.5678293312673,10.6944878471342,1.48305862683341,-0.686522742931726,1.00273064678407,0.188011996272013,0.125341330848009,-1.03359109268366,-0.81825961504123,0,0],[0,-21.7300083230253,0,-5.6375738371689,3.36909476870967,0,-1.50670498509475,0.775193319512744,0.121809878435105,-0.121809878435105,-0.530956950423596,0,0],[24.3286073807146,-21.0691920303964,0,-11.6870849535679,-7.39156153223158,0,-2.0043185339772,-1.63651923008246,0,-0.0593627917136573,-0.118725583427315,-0.272034486491732,0],[0,40.9047973374878,0,23.9513968233596,0,9.41176423012508,0,-2.27600380686356,-0.881492483988726,0,-0.0579979473934679,0,-0.278148384397026],[0,0,0,0,0,20.829891011946,0,0,0,0,0,0,0.0567768012126857]];
cd_new = reshape(cd_2010,[13,13])';
c = c_new;
dc = cd_new;
epoch = 2010;
save ..